package com.hrbu.ssm.service;

import com.hrbu.ssm.bean.Dept;

import java.util.List;

/**
 * @Description:
 * @Author: tanyajun
 * @CreateTime: 2021/3/25
 * @Blog: https://tanyajun.top
 */
public interface DeptService {
    List<Dept> getDeptList();

    List<Dept> getDeptListByPage(Integer page, Integer limit);

    Long getTotal();

    Integer insert(Dept dept);

    Integer update(Dept dept);

    Integer delete(Dept dept);
}
